package com.wzj.yygh.user.client;

import com.wzj.yygh.model.user.Patient;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-user")
public interface PatientFeignClient {
    @ApiOperation("获取就诊人")
    @GetMapping("inner/user/patient/get/{id}")
    Patient getPatient(@PathVariable("id") Long id);

}
